package cn.iocoder.yudao.module.train.controller.admin.appointment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 预约新增/修改 Request VO")
@Data
public class AppointmentSaveReqVO {

    @Schema(description = "预约ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26476")
    private Integer id;

    @Schema(description = "学生ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20014")
    @NotNull(message = "学生ID不能为空")
    private Long studentId;

    @Schema(description = "商品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13955")
    @NotNull(message = "商品ID不能为空")
    private Long commodityId;

    @Schema(description = "场地ID", example = "14489")
    private Integer venueId;

    @Schema(description = "预约日期")
    private LocalDateTime appointmentDate;

    @Schema(description = "预约时间段(tr_course_time字典)")
    private Integer timeRange;

    @Schema(description = "预约状态", example = "2")
    private Integer appointmentStatus;

}